<?php

namespace app\common\model\user;

use app\common\model\BaseModel;


/**
 *
 */
class OwnerEntry extends BaseModel
{

    public static function createData($data)
    {
        $data['app_id']= self::$app_id;
        return self::create($data);
    }


    /**
     * 获取列表数据
     */
    public function getList($data = null)
    {
        $model = $this;
        $list = $model->order(['id' => 'desc'])->paginate($data);

        return $list;
    }
}